package com.hellogood.yaohuo.client.common;

import com.hellogood.yaohuo.shared.entity.User;

public class LoginUser {
	private User currentUser = new User();

	private LoginUser() {

	}

	private static LoginUser loginUser = null;

	public static LoginUser getInstance() {
		if (loginUser == null) {
			loginUser = new LoginUser();
		}
		return loginUser;
	}

	public User getCurrentUser() {
		return currentUser;
	}

	public void setCurrentUser(User currentUser) {
		this.currentUser = currentUser;
	}
}
